package com.zkjl.protect_business.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * 系统角色表
 *
 * @author lc
 * @date 2019/10/21
 **/
@Data
@ApiModel(value = "SysRole对象", description = "角色对象")
@Document(indexName = "pb_role", shards = 1, replicas = 0)
public class SysRole {
    /**
     * 角色id
     */
    @Id
    private String id;

    /**
     * 名称
     */
    private String name;

    /**
     * 创建时间
     */
    private Long createTime;


    /**
     * 权限标识
     */
    private String permission;

}
